﻿using AutoMapper;
using Inventory.API.Application.Command.StoragelocationmanagementCommand;
using Inventory.API.Application.Command.WarehouseManagementCommand;
using Inventory.API.Application.Command.ZonemanagementCommand;
using Inventory.API.DTO.WarehousemanagementDTO;
using Inventory.Domain;

namespace Inventory.API
{
    public class MapingProfile : Profile
    {
        public MapingProfile()
        {
            CreateMap<AddWarehousingCommand, Warehousemanagement>().ReverseMap();
            CreateMap<GetWarehousingListQueryCommand, Warehousemanagement>().ReverseMap();
            CreateMap<UpdateWarehousingCommand, Warehousemanagement>().ReverseMap();
            CreateMap<AddZonemanagementCommand, Zonemanagement>().ReverseMap();

            CreateMap<Warehousemanagement, WarehousemanagementDTOS>().ReverseMap();
            CreateMap<UpdateZonemanagementCommand, Zonemanagement>().ReverseMap();
            CreateMap<AddStoragelocationmanagementCommand, Storagelocationmanagement>().ReverseMap();
          

        }
    }
}
